﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Xyz.Web.Reservation.AddonService;


namespace Xyz.Web.Reservation.Repositories
{
    public class AddonRepository : BaseRepository
    {
        /*
        public List<ServiceCategoryDTO> GetServiceCategories()
        {

            return AddonServiceClient.GetServiceCategories().ToList();
          
        }
        */
        public ServiceDTO[] GetServices()
        {
       

            return AddonServiceClient.GetServices();
        }

        public ServiceDTO[] GetAllServicesByServiceCategoryCode(string serviceCategoryCode)
        {
           

            return AddonServiceClient.GetAllServicesByServiceCategoryCode(serviceCategoryCode);
            

        }

        public ServiceDTO getServiceByServiceCode(string serviceCode)
        {


            return AddonServiceClient.GetServiceByServiceCode(serviceCode);
        }
    }
}